package exception;

import java.util.List;

public class AdviceHasntPointcutAssociatedOnAspectException extends Exception {
	
	public AdviceHasntPointcutAssociatedOnAspectException(String adviceId, String aspectId){
		System.out.println("Advice: '" + adviceId + "' hasnt a pointcut associated (on " + aspectId + " aspect).");
	}
	
	public AdviceHasntPointcutAssociatedOnAspectException(List adviceList, String aspectId){
		System.out.println("Advices: " + adviceList + " have to be associate a pointcut (on " + aspectId + " aspect).");
	}
}
